class WriteBoard < ActiveRecord::Base
validates_presence_of :title
validates_presence_of :content
validates_presence_of :employee_id
belongs_to :employee
end
